package mr.ali.webvideo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import mr.ali.webvideo.model.Prizes;
import mr.ali.webvideo.mapper.PrizesMapper;
import mr.ali.webvideo.service.IPrizesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mr-ali
 * @since 2025-09-06
 */
@Service
public class PrizesServiceImpl extends ServiceImpl<PrizesMapper, Prizes> implements IPrizesService {

    @Resource
    private PrizesMapper prizesMapper;

    @Override
    public List<Prizes> getPrizesList() {
        QueryWrapper<Prizes> queryWrapper = new QueryWrapper<>();
        return prizesMapper.selectList(queryWrapper);
    }
}
